<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://displaytag.sf.net" prefix="display" %>
<link rel=stylesheet href="css/style.css" type="text/css">
<title>Fantacalcio | Home</title>
</head>
<body>
	<c:if test="${userInSession == null }">
		<c:redirect url="Logout.do"></c:redirect>
	</c:if>
	
	<c:import url="head.jsp"/>
	
	<c:import url="menu.jsp"/>
	
	<div class="menu">
		<c:import url="menuUtente.jsp"/>
	</div>
	
	<div class="context">
		<h1> Home </h1>
		<c:if test="${msg != null }">
			<div class="message">
				<span>${msg}</span>
			</div>
		</c:if>
		<c:if test="${listaClassifica != null }">
			<h1> Classifica </h1>
			<display:table name="listaClassifica" requestURI="BackHomeAction.do" uid="table" class="tablesorter">
				<display:column property="squadra" title="Squadra" sortable="true"></display:column>
		  		<display:column property="golFatti" title="GF" sortable="true"></display:column>
		  		<display:column property="golSubiti" title="GS" sortable="true"></display:column>
		  		<display:column property="punti" title="Punti" sortable="true"></display:column>
			</display:table>
		</c:if>
	</div>
	
	<c:import url="footer.jsp"/>
</body>
</html>